package top.chenfu1201.jpa.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.chenfu1201.jpa.repository.UserRepository;

@Service
public class UserServiceImpl {

    @Autowired
    private UserRepository userRepository;

    public Object queryUsers() {
        return this.userRepository.findAll();
    }

}
